import json

dic = {}
for i in range(10):
    dic[i] = "ddd" + str(i)

arr = ["liyong", "liqiang"]
dic["name"] = arr;
js = json.dumps(dic)
print(js)
